<?php
/**
 * data.php
 * @author ranuandra
 *
 * 12 Agu 2011 11:01:13
 *
 * 
 */
?>
	<table class="tbltitle" align="center">
	<thead>
		<tr>
			<td class="title">
				<?php 
				if(isset($title))
				{
					echo $title;	
				}
				?>
			</td>
			<td class="toolbar">		
					<a href="<?php echo URL::base()?>upload/new" class="clsform"><img src="<?php echo URL::base() ?>assets/images/edit_add.png"></a> 
			</td>
		</tr>
	</thead>
	</table>
<div class="tbldata">

<table class="data" class="center">
	<thead>
		<tr>
			<th>Area</th>
			<th>Nama</th>
			<th>Alamat</th>
			<th>Jenis / Model</th>
			<th>Merek</th>
			<th>Type</th>
			<th>CC</th>
			<th>Tahun</th>
			<th>Noka</th>
			<th>Nosin</th>
			<th>Tanggal</th>
			<th>Keterangan</th>
		</tr>
	<thead>
	<tbody>
<?php 
if(isset($datas))
{

	for($i=1; $i<=count($datas); $i++)
	{
?>
		<tr>
			<td><?php echo $datas[$i]['area']?></td>
			<td><?php echo $datas[$i]['nama']?></td>
			<td><?php echo $datas[$i]['alamat']?></td>
			<td><?php echo $datas[$i]['model']?></td>
			<td><?php echo $datas[$i]['merk'] ?></td>
			<td><?php echo $datas[$i]['type'] ?></td>
			<td><?php echo $datas[$i]['cc'] ?></td>
			<td><?php echo $datas[$i]['thn'] ?></td>
			<td><?php echo $datas[$i]['noka'] ?></td>
			<td><?php echo $datas[$i]['nosin'] ?></td>
			<td><?php echo $datas[$i]['tgl'] ?></td>
			<td><?php echo $datas[$i]['ket'] ?></td>		
		</tr>
		
<?php 		
	}
}
?>
	</tbody>
</table>
</div>

